package com.gsnd.gsnd22estore.mapper;

import com.gsnd.gsnd22estore.domain.EsAddress;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Entity com.gsnd.gsnd22estore.domain.EsAddress
 */

@Service
public interface EsAddressMapper {

    List<EsAddress> selectByUserId(Integer userId);

    void updateDefault(@Param("id") Integer id,@Param("userId") Integer userId);

    void insert(EsAddress address);

    void update(EsAddress address);

    void delete(Integer id);

}




